class Cpanel::AdminsPolicy < Cpanel::BasePolicy
  def index?
    admin.has_role? :admins
  end

  def show?
    admin.has_role? :admins
  end

  def new?
    admin.has_role? :admins
  end

  def create?
    admin.has_role? :admins
  end

  def edit?
    admin.has_role? :admins
  end

  def update?
    admin.has_role? :admins
  end

  def destroy?
    admin.has_role? :admins
  end

  def reset_password?
    admin.has_role? :admins
  end

  def edit_password?
    true
  end

  def update_password?
    true
  end
end
